Vcenter Datastore FilterSpec

Vcenter Datastore FilterSpec
Vcenter Datastore FilterSpec

The Vcenter Datastore FilterSpec schema contains properties used to filter the results when listing datastores (see GET /vcenter/datastore). If multiple properties are specified, only datastores matching all of the properties match the filter.

JSON Example
{
    "datastores": [
        "string"
    ],
    "names": [
        "string"
    ],
    "types": [
        "string"
    ],
    "folders": [
        "string"
    ],
    "datacenters": [
        "string"
    ]
}
array of string
datastores
Optional

Identifiers of datastores that can match the filter.

If missing or null or empty, datastores with any identifier match the filter.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: Datastore. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: Datastore.

array of string
names
Optional

Names that datastores must have to match the filter (see Vcenter Datastore Info.name).

If missing or null or empty, datastores with any name match the filter.

array of string
types
Optional

Types that datastores must have to match the filter (see Vcenter Datastore Summary.type).

For more information see: Vcenter Datastore Type.

If missing or null or empty, datastores with any type match the filter.

array of string
folders
Optional

Folders that must contain the datastore for the datastore to match the filter.

If missing or null or empty, datastores in any folder match the filter.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: Folder. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: Folder.

array of string
datacenters
Optional

Datacenters that must contain the datastore for the datastore to match the filter.

If missing or null or empty, datastores in any datacenter match the filter.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: Datacenter. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: Datacenter.